Jonas Ådahl [Fri, 25 Jan 2019 21:06:39 +0000 (21:06 +0000)]
screen-cast: Fix monitor recording on HiDPI
It scaled the logical monitor rect with scale to get the stream
dimensions, but that is only valid when having
'scale-monitor-framebuffers' enabled. Even when it was, it didn't work
properly, as clutter_stage_capture_into() doesn't work properly with
scaled monitor framebuffers yet.
Carlos Garnacho [Tue, 18 Dec 2018 12:54:09 +0000 (12:54 +0000)]
tests: Don't check pixels outside actor allocation
The actor-shader-effect test actors are 50px wide, but we check the 51st
pixel. This went along undetected until "clutter: Avoid rounding
compensation when invalidating 2D actors" because the paint volumes were
made slightly bigger and the shaders paint all over them (I guess nobody
noticed those actors being actually ~52px wide).
Update the test to check the middle of the opposite edge, so we keep neatly
rounded numbers.
Carlos Garnacho [Fri, 5 May 2017 12:15:30 +0000 (14:15 +0200)]
clutter: Avoid rounding compensation when invalidating 2D actors
This allows the redraw clip to be more constrained, so MetaCullable doesn't
end up rendering portions of window shadows, frame and background when a
window invalidates (part of) its contents.
Daniel van Vugt [Thu, 11 Oct 2018 07:02:05 +0000 (07:02 +0000)]
clutter-offscreen-effect: Disable if no texture
If texture allocation fails (e.g. on an old GPU with size limit 2048)
then `update_fbo` would return `FALSE` but leaves `priv->offscreen`
as non-NULL. So the next paint will try to use the offscreen with a
`NULL` texture and crashes. The solution is simply to ensure that
`priv->offscreen` is NULL if there is no `priv->texture`, so the default
(non-offscreen) paint path gets used instead.
Bug reported and fix provided by Gert van de Kraats.
Daniel van Vugt [Thu, 11 Oct 2018 06:49:22 +0000 (06:49 +0000)]
cogl-auto-texture: Avoid a double-free crash
If texture allocation fails (e.g. on an old GPU with size limit 2048)
then `cogl_texture_new_with_size` was trying to use the same CoglError
twice. The second time was after it had already been freed.
Bug reported and fix provided by Gert van de Kraats.
Simon McVittie [Sat, 27 Apr 2019 23:13:35 +0000 (00:13 +0100)]
mutter (3.30.2-7) unstable; urgency=medium
* Team upload
[ Iain Lane ]
* Update metadata for debian/buster branch
[ Simon McVittie ]
* Update to upstream gnome-3-30 branch at 3.30.2-10-gdb8a29b34
- d/p/clutter-evdev-Fix-toggling-accessibility-features-from-ke.patch:
Allow keyboard accessibility features to be switched on when using
Wayland mode. Previously, this was wrongly controlled by the
"togglekeys" setting, which is off by default and has no UI, meaning
that in practice keyboard accessibility features were always off.
- d/p/clutter-Fix-check-for-keyboard-a11y-features.patch:
Fix the sense of the check for keyboard accessibility features.
Previously, they were enabled when disabled in gnome-control-center
and vice versa.
* d/libmutter-3-0.symbols: Add meta_gpu_kms_get_current_time_ns,
which was added in 3.30.2-2 by
d/p/Sync-to-the-hardware-refresh-rate-not-just-60.00Hz.patch